<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,minimum-scale=1.0">
    <title>漠河智慧社区</title>
    <link href="Content/wechat/css/reset.css" rel="stylesheet" type="text/css">
    <!--  <link href="css/index.css" rel="stylesheet" type="text/css">-->
    <link href="Content/wechat/css/zongZhi_FLYZ_xx.css" rel="stylesheet" type="text/css">
    <script src="Content/wechat/js/jquery.min.js"></script>
    <!--字体缩放-->
    <script src="Content/wechat/js/ziti.js"></script>
    <!--end 字体缩放-->
    <!--页码js-->
    <script src="Content/wechat/js/myPagination.js"></script>
    <!--页码-->
    <link href="Content/wechat/css/myPagination.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
    <img src="Content/wechat/images/flyz.jpg">
</header>
<button class="button">法律援助调解员</button>
<div class="dianLiang_list">
    <div class="dianLiang_list_box" id="liuYan_box11">
        <a>
            <img src="Content/wechat/images/photo.jpg">
            <span>张楚凡</span>
            <span style="color: #007aff">156-456-2058</span>
        </a>



    </div>




</div>
<button class="button">援助案例</button>
<div class="dianLiang_list" style="margin-bottom: 60px;">
    <div class="dianLiang_list_box">
       <ul id="anli">
           <li onclick=window.location="/wechat/home/lawmanage/flyz/lawmanage_FLYZ_al">列表形式展示所有用户的签到天数排名</li>



       </ul>
    </div>




</div>
<div class="button_shangChuan" onclick=window.location="/wechat/home/lawmanage/flyz/lawmanage_FLYZ_xx_FB">申请援助</div>
</body>
<script>
    window.onload = function () {
        peopleList();
        afgaehnsdrd();
    }


</script>
<script>

    function peopleList() {
        $.ajax({
            url: "/wechat/home/lawmanage/people/peopleallList",
            type: 'post',
            dataType: 'json',
            data: {
                type:"3"
            }, success: function (result) {
                ajaxCallBack(result);
            }

        })
    }

    function ajaxCallBack(data) {
        var insetViewData = ""; //视图数据
        $.each(data.data, function (index, items) {


            insetViewData +="<a href='tel:"+items.phone+"'>\n" +
                "            <img style='height: 2.8rem;' src=\""+items.imgurl+"\" onerror=src=\"Content/wechat/images/photo.jpg\">\n" +
                "            <span>"+items.name+"</span>\n" +
                "            <span style=\"color: #009DFF\">"+items.phone+"</span>\n" +
                "        </a>"

        });
        $("#liuYan_box11").html(insetViewData);

    }


</script>
<script>

    function afgaehnsdrd() {
        $.ajax({
            url: "/wechat/home/lawmanage/flyz/querylist6",
            type: 'post',
            dataType: 'json',
            data: {

            }, success: function (result) {
                ajaxCallBack2(result);
            }

        })
    }

    function ajaxCallBack2(data) {
        var insetViewData = ""; //视图数据
        $.each(data.data, function (index, items) {


            insetViewData +="<li onclick=window.location=\"/wechat/home/lawmanage/flyz/lawmanage_FLYZ_al?id="+items.id+"\">"+items.title+"</li>"

        });
        $("#anli").html(insetViewData);

    }


</script>
</html>